// 全局的api
import requests from './request.js';

export const checkTokenIsExpired = () => requests({
    url: '/user/checkToken',
    method: 'get',
    headers: {
        token: localStorage.getItem('token'),
    }
});
